import request from '@/common/request.js'	

/**
 * 接口权限校验
 */
export default function(url){
	let authUrl = uni.getStorageSync("authUrl");
	if(authUrl){
		authUrl = JSON.parse(authUrl);
		let index = authUrl.findIndex((res) => res === url)
		return index!=-1 ? true : false;
	}
}